package com.woniuxy.test;

import com.woniuxy.servcie.RbacManagerService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author 佘赛飞
 * @create 2021 -11 -16 3:59 PM
 */
public class MyTestAnnotation {

    public static void main(String[] args) {

        ApplicationContext ac = new ClassPathXmlApplicationContext("applicationAnnotation.xml");
        RbacManagerService rbacManagerService = ac.getBean("rbacManagerServiceImpl", RbacManagerService.class);
        rbacManagerService.addOne();
    }
}
